<?php
//debug($Dmdform);



?>
<?php   
    if (isset($Dmdform['Dmdform']['user_branch_ids']) || isset($Dmdform['Dmdform']['user_costcenter_ids'])):
?>
<table class="showFields">
    
    <tr>
        <th><?php __('Branches')  ?></th>
        <td><?php 
        //if(isset($Dmdform['Dmdform']['user_branch_ids']) && !empty($Dmdform['Dmdform']['user_branch_ids'])):
        $brU=unserialize($Dmdform['Dmdform']['user_branch_ids']);
        if( isset($brU[0])):
        foreach ($brU as $b){
            echo $br[$b].' - ';
        }
        endif;
        ?></td>
    </tr>
    
    <tr>
        <th><?php __('Cost Centers')  ?></th>
        <td><?php 
            //if(isset($Dmdform['Dmdform']['user_costcenter_ids']) && !empty($Dmdform['Dmdform']['user_costcenter_ids'])):
                
            $ccU=unserialize($Dmdform['Dmdform']['user_costcenter_ids']);
            if( isset($ccU[0])):
            foreach ($ccU as $c){
                echo $costc[$c].' - ';
            }
            endif;
        ?></td>
    </tr>

    
    

</table>

<?php else:  ?>
<div class="informDivError">
    <?php __('No Data !')  ?>
</div>    
<?php endif;  ?>
